$fontSize_20: 1.1vw;
$fontSize_18: 1vw;
$fontSize_16: 0.9vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.2vw;
$fontSize_36: 1.8vw;
$f: 19.2;

.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  transition: all 600ms;
  padding: 1.2vw 0;

  .box {
    width: 92vw;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .l {
      display: flex;
      align-items: center;

      .logo {
        position: relative;
        display: block;

        img {
          width: 263/$f+vw;
          display: block;
          transition: all 600ms;
        }
      }

      .links {
        display: flex;
        margin-top: 10/$f+vw;

        .item {
          margin-left: 3vw;
          position: relative;

          .a1 {
            color: #151515;
            opacity: .4;
            transition: all 600ms;
            text-transform: uppercase;
            font-size: $fontSize_24;
            font-family: 'Montserrat-Light';
          }

          .aList {
            position: absolute;
            left: -2vw;
            top: 100%;
            width: calc(100% + 4vw);
            text-align: center;
            padding-top: 20px;
            display: none;

            a {
              color: #FFDEE3;
              font-size: $fontSize_24;
              font-family: 'Montserrat-Light';
              padding: 10px 0 15px 0;
              display: block;
              transition: all 600ms;
              background-color: #FF8080;

              &:hover {
                color: #FF0606;
              }
            }

            a:first-child {
              padding-top: 25px;
              border-top-left-radius: 5px;
              border-top-right-radius: 5px;
            }

            a:last-child {
              border-bottom-left-radius: 5px;
              border-bottom-right-radius: 5px;
            }
          }

          .active {
            opacity: 1;
          }

          &:hover {
            .a1 {
              opacity: 1;
            }

            .aList {
              display: block;
            }
          }
        }
      }
    }

    .r {
      display: flex;
      align-items: center;

      a {
        color: #151515;
        font-size: $fontSize_20;
        font-family: 'Montserrat-Light';
      }

      .search {
        cursor: pointer;
        margin-left: 1vw;

        img {
          width: 24/$f+vw;
        }
      }
    }
  }
}
.hasBg{
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.pheader {
  display: none;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .1);

  .menu {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: white;

    a {
      margin-left: 20px;
      transform: translateY(2px);

      img {
        width: 140px;
        object-fit: contain;
      }
    }

    .navbox {
      margin-right: 20px;

      .line {
        width: 30px;
        height: 1px;
        background-color: #000;
        margin: 8px 0;
        -webkit-transition: all .6s;
        transition: all .6s;
      }
    }

    .activeBox {
      .line:nth-child(1) {
        transform: rotate(45deg) translateY(12px);
      }

      .line:nth-child(2) {
        transform: translateX(30px);
        opacity: 0;
      }

      .line:nth-child(3) {
        transform: rotate(-45deg) translateY(-12px);
      }
    }
  }
}

.menuList {
  position: fixed;
  left: 0;
  top: 59px;
  width: 100%;
  z-index: 1001;
  background: white;
  display: none;
  height: calc(100vh - 59px);

  .lan {
    padding: 1rem;
    display: flex;
    justify-content: flex-end;

    a {
      color: #646464;
      margin-left: 10px;
    }

    .active {
      font-weight: bolder;
      color: #000000;
    }
  }

  .item {
    //background: rgba(255,255,255,.8);
    padding: 1rem;
    background-color: #ededed;
    border-bottom: 1px solid #dadada;

    a {
      color: #000;
      display: block;
      position: relative;
      text-transform: uppercase;

      img {
        position: absolute;
        right: 0;
        width: 20px;
        transition: all 600ms;
        top: 5px;
      }

      .icon2 {
        position: static;
        width: auto;
        margin-right: 10px;
      }

      .rotate {
        transform: rotate(90deg);
      }
    }

    .tb {
      position: relative;
      display: flex;
      justify-content: space-between;
      align-items: center;
      a {
        width: 100%;
        display: block;
      }

      img {
        width: 40px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        transition: all 600ms;
      }

      .rotate {
        transform: translateY(-50%) rotate(90deg);
      }
    }

    .types_top {
      display: none;
      a {
        font-size: 14px;
        margin-top: 15px;
      }
    }
  }
}

.activeList {
  transform: translateY(0);
}

.search_dom {
  background: rgba(0, 0, 0, 0.60);
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 100;
  background: rgba(0, 0, 0, 0.60);
  display: none;
  .box {
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1vw 0;

    .icon {
      svg {
        width: 28/$f+vw;
      }
    }

    .sr {
      margin: 0 1vw;
      position: relative;
      input{
        outline: none;
        border-radius: 30px;
        border: 1px solid #E5E5E5;
        width: 25vw;
        padding: 10px 0;
        text-indent: 20px;
        color: #000;
        font-size: $fontSize_16;
      }
      a{
        position: absolute;
        right: 20px;
        top:50%;
        transform: translateY(-50%);
        svg{
          display: block;
          width: 16/$f+vw;
        }
      }
    }
    .close{
      cursor: pointer;
      svg{
        width: 32/$f+vw;
        display: block;
      }
    }
  }
}


.foot {
  background: url(../images/fbg.png) no-repeat;
  background-size: cover;
  padding: 7vw 8vw 2vw 8vw;

  .dom1 {
    width: 100%;
    display: flex;
    justify-content: space-between;

    .l {
      display: inline-block;
      position: relative;

      .logo {
        img {
          width: 400/$f+vw;
        }
      }

      .icons {
        display: flex;
        justify-content: space-between;
        margin-top: 2.4vw;
        align-items: center;

        a {
          svg {
            path {
              transition: all 600ms;
            }

            &:hover {
              path {
                fill: #FF8080;
              }
            }
          }
        }
      }
    }

    .r {
      display: flex;

      .item {
        margin-left: 6vw;

        a {
          font-size: 1.6vw;
          font-family: 'Montserrat-Light';
          color: #FFF;
          display: block;
          text-transform: uppercase;
          margin-bottom: 1.5vw;
          transition: all 600ms;

          &:hover {
            color: #FF8080;
          }
        }
      }
    }
  }

  .dom2 {
    display: flex;
    justify-content: space-between;
    margin-top: 6vw;

    p,
    a {
      color: rgba(255, 255, 255, 0.37);
      font-size: $fontSize_24;
      font-family: 'Montserrat-Light';
    }

    a {
      transition: all 600ms;

      &:hover {
        color: white;
      }
    }
  }
}


.Splash {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  width: 100vw;
  z-index: 9;
  bottom: 0;
  height: 10vw;
}
.SplashView {
  width: 100%;
  height: 80vh;
  top: -35vh;
  left: 0;
  position: absolute;
  overflow-x: hidden;
  overflow-y: visible;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.Splash--conversion .SplashView__center {
  transform: rotate(-8deg);
}
.SplashView__center {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
}
.SplashTop {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
}
.SplashTop .SplashEl, .SplashTop .SplashEl__img, .SplashTop .SplashEl__mask {
  bottom: 0;
}
.SplashEl--conversion-01 {
  left: 35%;
  height: 35px;
  width: 70vw;
}
.SplashEl--conversion-02 {
  right: 65%;
  height: 170px;
  width: 40vw;
}
.Splash.fadein .SplashEl[data-index="03"] .SplashEl__mask {
  transition: width 1.5s cubic-bezier(1,0,0,1) .2s;
  width: 100%;
}
.Splash.fadein .SplashEl[data-index="02"] .SplashEl__mask {
  transition: width 1.5s cubic-bezier(1,0,0,1) .1s;
  width: 100%;
}
.SplashEl--conversion-01 .SplashEl__img, .SplashEl--conversion-01 .SplashEl__mask {
  right: 0;
}
.SplashEl .SplashEl__mask {
  width: 0;
  height: 100%;
  position: absolute;
  overflow: hidden;
}
.SplashEl--conversion-01 .SplashEl__img {
  height: 35px;
  width: 70vw;
  background-color: #00d6d6;
  clip-path: polygon(0 100%,100% 0,100% 100%);
}
.SplashEl .SplashEl__img {
  position: absolute;
}
.SplashEl--conversion-02 .SplashEl__img, .SplashEl--conversion-02 .SplashEl__mask {
  left: 0;
}
.SplashEl--conversion-02 .SplashEl__img {
  height: 170px;
  width: 40vw;
  background-color: #603BFf;
  clip-path: polygon(0 0,100% 100%,0 100%);
}
.SplashBottom {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
}
.SplashBottom {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
}
.SplashBottom .SplashEl, .SplashBottom .SplashEl__img, .SplashBottom .SplashEl__mask {
  top: 0;
}
.Splash.fadein .SplashEl[data-index="01"] .SplashEl__mask {
  transition: width 1.5s cubic-bezier(1,0,0,1);
  width: 100%;
}
.SplashEl--conversion-03 .SplashEl__img, .SplashEl--conversion-03 .SplashEl__mask {
  right: 0;
}
.SplashEl {
  position: absolute;
}
.SplashEl--conversion-03 {
  left: 25%;
  height: 240px;
  width: 80vw;
}
.SplashEl--conversion-03 .SplashEl__img {
  height: 240px;
  width: 80vw;
  background-color: #FF8080;
  clip-path: polygon(0 0,100% 0,100% 100%);
}
@media screen and (max-width: 1024px) {
  .header {
    display: none;
  }

  .pheader {
    display: flex;
  }
  .foot{
    padding: 30px 5%;
    .dom1{
      flex-direction: column;
      .l{
        .logo{
          img{
            width: 160px;
          }
        }
        .icons{
          margin-top: 20px;
        }
      }
      .r{
        display: none;
      }
    }
    .dom2{
      margin-top: 30px;
      flex-direction: column;
      text-align: center;
      line-height: 1.6;
      p,a{
        font-size: 14px;
      }
    }
  }

  .Splash{
    margin-left: 0;
    width: 100%;
    height: 80px;
    .SplashView__center {
      transform: rotate(-14deg);
    }
    .SplashEl--conversion-01 {
      height: 10px;
    }
    .SplashEl--conversion-01 .SplashEl__img {
      height: 10px;
    }
    .SplashEl--conversion-02 {
      height: 70px;
    }
    .SplashEl--conversion-02 .SplashEl__img {
      height: 70px;
    }
    .SplashEl--conversion-03 {
      height: 108px;
    }
    .SplashEl--conversion-03 .SplashEl__img {
      height: 108px;
    }
  }
}